[#macro shopCodeView]
<div>
  <img  alt="" :src="shopLogo" style="width: 300px;height: auto;" />

  <img  alt="" :src="shopLogo2" style="width: 300px;height: auto;" />

</div>
[/#macro]
[#macro shopCodeConfig]
<script type="text/x-template" id="my-shop-code">
    [@shopCodeView /]
</script>
<script type="text/javascript">
    //显示组件开始
    var shopCodeConfig = {};
    shopCodeConfig.template = "#my-shop-code";
    shopCodeConfig.methods = config.basicMethod();
    shopCodeConfig.data = function () {
        return {
            viewModel: {
            },
            activeIndex: "1",
            shopLogo:"",
            shopLogo2:""
        }
    };

    shopCodeConfig.mounted = function () {
        var id = this.$route.query.id;
        this.selectId = id;
        //getUnlimited  code
        this.shopLogo="${siteurl}getUnlimited/"+id+".htm?random="+new Date();
        this.shopLogo2="${siteurl}code/"+id+".htm?random="+new Date();
        var activeIndex = this.$route.query.activeIndex;
    }
    var shopCodeView = Vue.component('my-shop-code', shopCodeConfig);
		//显示组件结束
</script>
[/#macro]